package com.fs.service;

import com.fs.entity.Messages;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author author
 * @since 2024-06-12
 */
public interface IMessagesService {
    //通过接收人的id查询消息
    List<Messages> SelectAllByid(Integer id);

    public Messages SelectMessagesbymid(Integer mid);

    public boolean Deletebymids(Integer[] mid);

    public boolean Changeread(Integer mid);

    public boolean AddMessage(Messages messages);
}
